<template>
    <div>
      <iframe :src="pdfUrl" style="width:100%;height:500px;"></iframe>
    </div>
</template>

<script>
export default {
  data() {
    return {
      pdfUrl: "/static/pdfjs/web/viewer.html?file=2.pdf",
    };
  },
  created(){
    console.log(this.pdfUrl)
  }
};
</script>
